Change all files to .php and create an 'includes' folder to hold certain scripts such as 'connect_db.php'