set up the functions for loading a style from a file. use the Config class throughout instead of reading out of the python namespace all the time.