Add header and footer partials. Clean up routes and refactor tests.