Adding initial files for DB Abstraction Layer

Early work, still much to be done. Need to refactor much of it to use
singletons.