added global emitter module; events can now be passed through modules