Reorganized transformers, separating IsPitch and IsDynamic instances

See #53