Added generateHeader with a title and an option for additional HTML. I'm leaving header.php in the repo in case this doesn't work/breaks something.
Also cleaned up index.php a little bit.