This function creates an entry tree and exposes a selection of methods to manage the entries in this tree. It expects an object of type EntryTreeOptions as argument.