Updated the Config class to use a DataBag