refactor(spawnify) setListeners