Added license and prepared package.json for npm publish