Populated the YamlConfiguration class