Renamed some functions, added pre_get_posts function, added page.php