Add a StaticPages controller
Finish static pages
Remove code repetition