Refactored class - separated nest calculation function
Must work on createTree function next.