By developing the previously proposed method of combining continuum mechanics with Einstein Field Equations, explicit equations of interactions operating in a physical system were obtained. The explicit form of the electromagnetic four-potential was also derived, and the Lagrangian and Hamiltonian densities describing the physical system containing all the fields. A quantum picture of the system was also proposed, which, interestingly, allows for a simple transition to a curvilinear description based on the metric tensor in curved spacetime.