Added eventemitter3

Fixes #4