(bluefox) change adapter to emitEvent architecture