add event model and event controller