Essays on incentives for agents