Added license information to the repo.
Added author information and git repo to package.json.
A bit of refactoring.
Added lodash as an npm dependency.
Basic functionality.