set up folders and index.php