made some changes to the representation of midi instances.
Merge remote-tracking branch 'origin/master'
making sure my latest is pushed