How did the rise of the middle class, the power of the church, and
the role of guilds change during the Middle Ages.