Put associative arrays into CFG.py so we can use config values to call relevant functions. Cleaned up tests.py.