add pages controller, a title helper and routes for pages