added LICENSE file
updates to include package.json and some tidying for better mocha integration