Refactor Front Page View

The front page view should now work in all view states. I also removed
alot of useless functions that were not needed for operation.