Rename api to index

Rename api.php to index.php