Restructured to extract out the iglu_config