A Symplectic Framework for Field Theories