add RefObject as refCount base class.
but now noone use this class.
Because I think use class inheritance system is too complex,not ansi c style!