rewrote the example files for the new API client, update the test.py and the client.py and expression.py