Added timestamp and nonce generation to Command class