subgenerator for creating a module