Config is cached as python file

For ease of use the config file is now cached as a python file
that can be imported.