add events model and basic events controller