A Principal-Agent Model for Product Specification and Production