Changed File Names

Changed Index File Name and created API.php file