What influenced the creation of new social classes and peaceful democracies in northern europe.