Split ScaffyDB into a separate module wrapped by DatabaseManager.