Minor changes to function ordering and added comment. Next step: test on the actual EC2 server.
MidiClient can send notes fine. Now need to implement receive.