added the homepage content page
separated out page functions
added function for modular content