Update .gitignore
Move index.js into lib/