Move `configure` method to BaseWorker
When we implement a new worker which inherits from BaseWorker, we don't want to c/c this code. This also removes the c/c happening in ElementsWorker and DatasetWorker.
When we implement a new worker which inherits from BaseWorker, we don't want to c/c this code. This also removes the c/c happening in ElementsWorker and DatasetWorker.