singleton of MelodyModel and toString in Melody