Changed the UI of everything to use main.js