Added trigger for events
Starting creating models (part 1)