Add a StaticPages Controller
Fix some compile problem
Finish static pages