Move config loader logic into static method; rework base_configs