Add a StaticPages controller
added some tests