A module has exactly the same structure, so if you copy the contents of the 'app' folder (of a new installation) to your module folder, you should have everything. You only need to remove the welcome stuff from it.
To generate into a module, you can use the "--module=modulename" commandline switch.