Easily configurable treestore connection.