added ability to load config from a dict and rebind after changing configs