Embedding Electrodynamics Simulation Packages