minor change: refactoring dbQueries class