created index.js file. Updated README