add subgenerator to remove modules