Rename index.php to viewmain.php