Added staticPages controller
DRYing out staticPages
DRYing out staticPages