added modulesMod to classModel