Rename measures.hs to polyrhythm.hs.
extract measures stuff to gaps.