Added MIT license.

in keeping with original source code from Pebble.