Moves the header and footer to respective views and templates.
When user clicks on footer button, mark it as selected.
Merges master.