First rev at wsgi support - working