inital commit
cleanups, fixes, comments and basic documentation
prepare for publish, merge with githup/master