Add a StaticPages controller
Added tests and fixed a slight bug
Finish static pages