* Replace logging.warn with logging.warning * Install config global state early * Split config.py into more manageable pieces