moving to CommonJS style module system for use outside of the server
minor spelling & formatting
fix for #44, default values syntax, other cleanup
release 0.2.3