implemented first version of cluster client