added bit vector
added CFGBag and updated other stuff
intermediate stuff converting to key grip