added index.js
updated gitignore
merged to master