Introduce TripletConverter
Rename bottomUp* to triplet* qg cardinality model
Refactor out separate concerns