moved client code and added wsgi config