[Deck Manager] Mode DB server framework.

#1 More work on the db server, almos ready to refactor and integrate
into the deck manager.  Once I have that the app will support multi
users working at the same time.

This is also good preperation for the game server that I will be working
on after the manager is in V1.