db api design

db is not a good name... we are not making database...