base type implementation for directory tree visit

next will follow soon