Fixed code tab/indent spacing
Removed xml samples
Update readme
Moved Tree and Root creation to single function