Create index.js

Main file.