match model, controller and view