added remove function to hostgroups