added configprovider
added comments