remove dead code
remove redundancy in CLI for managing config