Make imports relative
Fix erroneous call to gevent.sleep