create pages controller and view.