Added model and controller.