The role of emerging elites in the formation and development of communities after the fall of the Roman Empire