Move the generation of midi commands into the FirmataParser, it will also be the place to emit firmata events and will hold the midi parser.