Moved exit channel setup to utils
Moved command line configuration to type metadata