adapted to new package structure
more efficient computation of ancestors
fix country-language relations