add StaticPages controller
Static pages refactored using layout