Minor point: can everything below this line be moved to `core/config_init.py`?