Database Interfaces, Implementation and Tests.   SQL Server schema script

Created database interfaces, implementation and tests.  Also added SQL Server schema script.
document why an exception might be thrown and how the client code might be able to handle it.