local data source factory