Added the ability to load config from hash as well as yaml file in case client app needs to perform some preprocessing on the hash