moved client.py to client