Added the new class Melody