refactor(config): minor refactor and config command improvments