Create create_page_class.php

Breaking main_class into separate classes