Creates controller for static pages