Modules class generator