TaskRunner now can take event dispatcher instance and is triggering an event when a task is added