Crud generation with modules
Simplified getModule function