Update Main_class.php

Added create_page function and registered the activation hook for it.  Now it creates a page on activation of the plugin.