add the index.php and main page php file