add hostgroups and servicegroups on maps