Fixed documentation and extended readme. Added prep for npm package publishing with folder structure and package.json changes. Added prepublish hook