cleaning up midihelper package
refactoring midihelper a bit