adds event model and CRUD