Economic Modelling and Incentive Mechanisms for Ecient Resource Provision in Peer-to-Peer Systems