updated .gitignore, added index.js and package.json