Move db helpers to its own manager.