wip: added simple tree interface. next?

Signed-off-by: Erik Bernoth <erik.bernoth@gmail.com>