Design Of Electromagnetic Devices Using Blackboard Architecture