Reorganized the code so that it's easier to find things, mostly put the html files in the views folder