Clean approach to avoid deep callback nesting using Node's EventEmitter.