Added MelodyMatch case class to replace tuples.