Split header/footer from index.php into header.php and footer.php