made some changes to work with sql database now
set up sqlite database with tests