fixed some disorganization, added a function to give a UI menu option for home, and added a page template
cleaned up php and mostly css