Update main.php

Made class names conform to standards.