changed the synchronisation protocol to work with s_groups; the name of the s_group(s) to which a node belong to is also added to the messages sent/ function calls.
extended the state data represenation; s_group info is used during the synchronisation process to make sure only nodes in the same s_group are synced.
a sample s_group config file.