moved tier tree stuff to it's own class