Switch to eventemitter2
Fix bug with randKey