tree module
Updated with docs example