Add a StaticPages controller
fix static pages test
Finish static pages