Update code style.
Split XOR and TLS.
Update README.
Update code cleanup.