creating GroupsDAO