finished conversion to sqlite
basics working with sqlite