Added events to Model.
Merge pull request #9 from benastan/add_events_to_model

Added events to Model.