Reminds me of Firmata project [0]
Does pin control, but also PWM, analog, and extensions. Uses existing well documented protocol, has firmware for every Arduino and other boards, GUI tools and bindings for a lot of languages.
[0]http://firmata.org/wiki/Main_Page