Moved MIDI file classes and functions to higher level modules.