Add check for removing last node from a group/cluster.
Add node group addition and removal.