extract configuration data provider for streams and files
Merge pull request #4 from bartlomiej-dudala/configurationProviders

extract configuration data provider for streams and files