Create main.js

main file to run code.