SMS: Statistical mechanics of elasticity