separating classes in MidiPlayer.py into separate files