Added MIT license

Removed commented code from example