what were the roles of the catechetical schools in education during the middle ages​