Refactored the homepage.