Node and Leaf structures added.
First version of leafRes.