Object oriented modeling and distributed problem solving