big refactoring of the db and db drivers
db up