Integral Formalism for Gauge Fields