Create index.php

Cleaned the file off the disused code. Indented file for readability.