(feature):Supporting promises for config