Implements basic functionality of event creation