Can now obtain all groups, fixed some javadocs