Removed api.php from main