Build taxonomy structure