First draft of PathNode and comparator.