updated TriedNodeFactory references to use interface