made client.py into a class