Added parsing and sending commands