Thermodynamics, Gibbs Method and Statistical Physics