Export the directory manager type so it can be accessed from other packages

When writing tests, it is currently impossible to store the directory manager in a struct because it is unexported. This exports the type to fix the issue.