added classes for setting page view and controller