Separate class created for Tree node