make clusterState a service