added client.py and slightly modified ClusterMaximization number of threads