An Object Oriented Approach to Design Symbolic and Connectionist Systems