context.core.configure().then(function () {
            // start the app
            context.core.start().then(function () {
              // send success state to catch event.
              deferred.resolve();