Add a StaticPages controller
initialize repository