make using CM torch optional [2/2]
added ShareLogs and CMTorch