Fixes to server and added Python client.