mix in an EventEmitter to your constructor