dynamically configurable firmware

We've (not just me) done a sketch, that allows us to change peripherals on the fly, And it is slightly different from directly control pins from PC via serial. I hope it is interesting.
I'm not sure about my English and may be there are some bugs, but the main idea should be clear.
Any help is appreciated.