split client.py