Remove unused imports
Add a concept of a conn module
Remove a few useless variables
Changed my mind on how to do this
Less indenting in exchange for more lines
Add new style method for loading modules
Split out into another function
Yet another function, now we can load setup in a nicer way
Can now initialise more than one module in a file
Conn modules can be initialised like normal modules
This is set up code for just pre-build
This definitely didn't work as intended, unify message
config_dict -> cfg
Move remove to the correct place
The setup module is no longer special
Don't back up prompt_command, it's never restored
Deduplicate similar prompt setup functions
Move related functions together
Tweak argument ordering
Simplify (and speed up) get_distro_info