Added serial port functionality to send messages to arduino