dd sqlite db and some supporting classes