Fix unicode encode error with configurator
Add a "directories" module

Handle directory list and select operations.