Build improvements, code comments, licensing headers and minor refactoring
preparing release 0.0.1-SNAPSHOT