give dir to StorageManager
test pass post-refactor madness
tests passing & doctests updated