robot extends eventemitter

this is more idiomatic for node applications