Add license.

Writing doc.
Merge remote-tracking branch 'origin/sync' into sync