Moved main route into main.js