Tree structure definition

Signed-off-by: Predrag Kanazir <predrag@arraystudio.com>