README updated and index.js added