added license, fixed package.json, thanks @Niggler. Fixes #1 and #2