Rename api.php to index.php