added event emitter to publish add item commands