Removed index.php and merged index.php with main.php