added sqlite db
basic prototype finished