more cleanup
moving result kind to ASaPUtil and renaming it to Trivalent
merge