Created single page tempalte.
Minor bug fixes to index.php