Generic library on the robot side to handle communication between a pc and a leJOS robot