Database Interfaces, Implementation and Tests.   SQL Server schema script

Created database interfaces, implementation and tests.  Also added SQL Server schema script.
watch the excessive whitespace