WIP: Adding global ring and tracker infrastructure.

All tests passing so far.
WIP: More tracker infrastructure.

No tests for tracker code yet.