added pkg.json and index.js