Data-Driven Demand Management for Smart Grid