Moving compiled files to the dist directory and enforcing and cleaning up some code style
bumping major version
fixing styles
Fixing up style and documentation