Create OBTree.c

First handful of functions for OBTree.c (in progress).