Ab-Initio Statistical Mechanics