Add main index.js script and package.json file