convert Ptr{Obj} to Obj
added tdirectory, tfile methods
added new wrappers
added new methods to th1