Converting to .php and seperating header and footer from main templates