moved PdMidiDispatcher into a separate class
fixed indentation to 2 spaces