Title: Generalized Hamiltonian Formalism for Field Theory