Adding transistion functions
Added rough functionality for tree creation / deletion