Title: Statistical mechanics : foundations and applications