Refactor AllenConfig.py
AllenConfig.py should be refactored into parts that can be installed as a module and (simple) scripts that set things up from a top level and call into the module.
There are a few use cases mixed in AllenConfig.py (online, testbench, input from files, etc.). These should be disentangled.