Module changes + Small cleanup

testmodule.js will be used as a base for the standard WAS Module Class.

Add functionality to module, and then strip debug code.