[refactor] more typeclass refactorings

FlowCmdM -> DBCmd or HasNodeStory is usually enough
parent 8d3f7def
Pipeline #5232 failed with stages
in 130 minutes and 25 seconds