added a pages controller
adding tests
finished with static pages