db.c: Started on a minor rewrite to a full message passing system
db.c: Started on a minor rewrite to a full message passing system

It compiles, for some odd reason. Don't run this yet, though. This
commit breaks pretty much everything related to the database.

srijan/ncdc,srijan/ncdc,Tilka/ncdc,Tilka/ncdc,srijan/ncdc