Simplify sourceode by sticking with "class.php" / "class-main.php"
Merge