replaced ntg_value with abstract class CValue and concrete classes CIntegerValue, CFloatValue and CStringValue