Refactoring DirectoryManager to use iterable, and renamed to directory
browser. 
//TODO
* Validate input as at present it fails ungracefully