Added home page
Cleaned up some code