changed init of db to support only sqlite3