Created event model. closed #10