Design and Implementation of a P2P Cloud System