refactored the way conventions are added to moduleconventions