Update Main_class.php

Removed all unused functions.  Moved register_activation_hook and register_deactivation_hook to main.php.  Created the delete page function to remove the page completely when plugin is uninstalled.
This now works on my testing site.