Organize chord diagram logic by "layers"

The diagram's ticks, chords, and handles are (mostly) independent
components. This structure communicates that fact.