added index.js and package.json