Create the event model