For communicating from host computer to/from the Arduino, there's a thing called "gobetwino" which might be useful: