Implemented DrumMachine model class.