Classical Electrodynamics as a nonlinear dynamical system