midi experiment is working...not a lot of unit tests: excuse: I suck - also, I barely can get the midi working...
restructured to clean up syntax