Include event emitter into the pipeline api
Include event emitter into the state api
Include event emitter into the artefact api