implemented generic Tree IO and a specific Object IO.
The Object IO allows for direct storage into a file without taking any
intermediate steps