setted GeventWorker as gunicorn worker class
implemented event queue and signal to fix sse flushing issues
added docstrings and etc.