- use tmp handle everytime it's possible
- add Database.missing_dbs and Transaction.check_dbs() in order to check and download missing dbs files