Create index.php from source file

Most work will be done here I think