Adafruit USB MIDI does not create device

Good catch. I never imagined that opening the serial port would interfere with the MIDI library!
By the way, I don't like at all global variables... do you see any caveat if I put all the stuff in the private section of my Foo class?

Where does the MIDI_CREATE_INSTANCE macro should be placed then?