updated package.json to make available as a node module