beginning of sqlitehelper