Worked on directory structure, dynamically loading directory entries from disk and attaching to the in-memory tree. tree() now correctly traverses the directory tree after a reload (at least for one level; deeper recursion not tested)