Added function sendCommand() to Jockey interface.