Factored out header html and added footer