Added documentation to BaseTree class.
Finished adding documentation to all classes.