add basic groups api

s/contact/group/