Added the basic DMS version of the DAL

This version came straight from one of our web projects. It is not yet
self contained.