Have moidified the master-server to store the ID of groups instead of IDs of data servers, and fixed some bugs