added waiting for cluster start to cluster class