updated page_class to account for pages
added basic page layout