Implemented DirectoryProcessor with tests.

Po co to podkreślenie tutaj xD ?