Add pages controller and routing