Implements a configurable database name in the tree manager
Implements per domain databases and transactions