making client.py really work with operation, query and watch db_calls