convert event dispatcher to use the symfony component.
added a base subscriber.