Added a StaticPages controller
Finish static pages. Refactored