Creates and implements index.php