removeLoop(loop) {
    return new Promise(resolve => {
      const index = this.loops.indexOf(loop);
      if (index !== -1) this.loops.splice(index, 1);

      resolve(loop);
    });
  }
@method removeLoop
@description Removes loop from this app.
@param {Object} loop - the loop to remove
@return {Promise} Promise that is resolved when promises completed.
@memberof module:core.App