Re-organized file structure

I seperated the main.html into the various views files, still having
issues with the router