added Event model and tested curl