added package.json, to publish as npm module