add basic groups api

s/_groups_/_group_/