add our own thin event layer
remove dependency to eventmachine