add DbCursor class and Db.getX methods