Converted index to php and created header.php and footer.php