david-wg2
object ConfigReader { fun readConfig(configFilePath: String) = ObjectMapper(YAMLFactory()).apply { registerModule(KotlinModule()) }.readValue(File(configFilePath), AppConfig::class.java)!! }