code: function (token, deviceId, userId, appData, events) {
      appData.acl = {
        ownerId: userId
      };
      var options = {
        app: appData
      };
  
      require('./helpers').startAppPublish(options, events);
  
    }
docs: deploy ends TODO: refactor so params are options coming in