CS fixes in examples and add License.