get rid of holding onto runDB

caller of these APIs can just use
their own runDB when they call the functions