Created DBProvider class - a sqlite database interface.