add haiku functionality
implement gevent queue