Added wsgi server support