implemented first linear operation (and supporting functions) - rearticulation.
Decided on a representation for musical lines and described it in comments.