Extract init into load_config without ns