Recursively iterates over specified directory, requiring each file, and returning a nested hash structure containing those libraries.