Changes DB calls to SQLite3 class