Creating the controller for the static pages.