Class for working with MS-SQL DB.