[WIP] Extract dummy-db module

Small refactor to define our "database" in one spot.