db Base classes, some namespace changes.