[MH,RG] Add the functionality for the sets, the serve and some minor fixes