added class ResTypeAverageScores(object)