Classgroups of group rings