Object-Oriented Design of the Control Software for a Flexible Manufacturing System