Cleanup config.py to be shorter and awesomer.