Moved the data source creation logic from api core to rest-app
Merge pull request #499 from sheebans/master

Moved the data source creation logic from api core to rest-app