Refactored dbDriver.createTables()