implement RankClass, remove iso639_2, add max values to distance attributes, change type for distances,
implement RankClass, remove iso639_2, add max values to distance attributes, change type for distances,