Finish static pages

Refactor the views by the book