Framework for Incentives in P2P