added consistency checker and other tools