Implement ReferenceNode

The ReferenceNode (digital reference) is now working, although its
functionality is limited. Currently, only one channel can serve
as a reference. Ideally, each channel or subset of channels could
have a unique reference. This will require additional UI upgrades
that are not a priority at the moment.