fixes to issues due to previous refactoring preventing deployed NPM version from working
Merged README