to(uri) {
    uri = this.modifyURI(uri);
    history.pushState(null, null, uri);
    const route = Route.matchURIWithRoute(uri);
    const event = new CustomEvent('onRouteChange', {detail: uri});
    event.route = route;
    document.dispatchEvent(event);

    if (route) {
      const callbacks = this.getRouteCallbacks(route);
      if (callbacks !== false) {
        const namedParams = this.getNamedParams(uri);
        callbacks.forEach(cb => {
          cb(namedParams)
        });
      }
    }
  }
Changes the browser URL without a refresh to a new URL and calls callbacks if that route is defined
@param uri
@returns {boolean}