Mechanism Design for Total Quality Management