Adds a StaticPages controller
Finalizes static pages