removed c implementations
client.py made more neat