Support loading configs from yml