#2 added EventEmitter lib. API and details can be found here: https://github.com/Wolfy87/EventEmitter