Removed client test from the Python Unittest.
Refactored app.py and removed shared.py