Add pages controller and model