Add static pages controller
Refactoring