initial port to PebbleSDK-2.0.0