reorganized client.py, plus progress on syn.get and syn.store