Add Ref library, remove dumpObj, now use dump for all !
rename FunctionDump to functionDump