Documentation on db module

Because this is a good thing.