Change shared bundle object into event emitter
Add output directory writer