Dynamics of Classical and Quantum Fields