private function startCore(bool $isConsole)
  {
    $this->bootEnv();
    $this->initialize();
    $this->logger();
    $this->errorHandling($isConsole);
    $this->bootRemember();

    /**
     * Create class aliases
     */
    $aliases = config('app.aliases');

    foreach($aliases as $alias => $class) {
      class_alias($class, $alias);
    }
  }