mv the global config to configs.py