move all of the homepage helpers to homepage.php