add partials to simplify main view, header, and footer