removed database from directQuery to be able to manage datasources in general