Added logging using slf4j. Added nonce in OSSWrap.