bug 884076 Add simple tree implementation

Simple tree implementation for places api