refactoring of classes done
now DObject is a class wrapping Java’s Path for use in Dir.process and
File, Dir are classes for Dir.apply method