DirectoryBase constructor takes DirectoryBase instance as parameter and handles parent