Improved config and data sources creation. Next step is to create several data sources with different data dir.