How ESPRIT Helps Green Tools Produce First-class Tools