Refactored InfoManager

Extracted DirectoryParams from getDirectory to increase Cohesion