ResourceBase refactoring: dataset, endpoint, service, query, queryBuilder are now final class members, initialized in constructor