added new database interface file.  I have not converted it to use that yet