Fixed up the layout of the home page and continued to clean up the code