Datasource externalization