A bailment is a delivery of goods or property upon a contract, express or implied, to carry out the execution of a special object beneficial either to the bailor or bailee or both and to dispose of the property in conformity with the purpose of the trust.