Command: show-config, reload-config. Some refactorings in import handler and import daemon.