adding static pages controller.
chapter 3 of tutorial done.