Class group implemented, TODO on getGroups added