directory helper refactor
directory helper smoke test