added client.py - almost done