added Event Class in Models