Classical Field Theory in the BV Formalism