Made changes for initializing a group. The group initialization will now
wait for all the nodes to come up before marking the group as ready.