move query source to data_access