added documentation and license stuff for npm-publish