Update main_class.php

Clean up up non-working unnecessary lines of code.