added a sqlite db class