Polish BaseTask/DBTask after refactoring
This MR is likely to be best reviewed on a commit-by-commit basis, as each commit has a different kind of refactoring/cleanup.
This MR is likely to be best reviewed on a commit-by-commit basis, as each commit has a different kind of refactoring/cleanup.