Modularizing pages

Makes it clear clear what's a page and what's a view. Pages can probably reuse the views.