refactoring directories to be walkable