Fix #27.

Add MIT license, copyright info and third-party software notice.