Preparation for publishing

- Add licensing
- Update dependencies
- Add necessary files
- Update .npmignore