Move Main code to main.js