Removed pymongo imports (moved to tree.py).
Finished implementing the basic functionality of tree logger.
Finished implementing basic functionality of branch.