Implemented DirectoryProcessor with tests.

No, chyba tak.