moved listeners from websocket api to collections