added event model
now events can be created