add event model and controller