workign wiht a sqlite db \n\nneed to add a frontend now, i think