translator now knows about modules
translator can now translate into a module
clean up some of the code
derive thm about generated module, demo file