http module and eventEmitterMacro implemented