Trasitioning to WSGI