implement group, delete group and groups for the sqlite backend and client