public function initializeEnvironment($appPath)
    {
        try {
            // initialize the environment and its configurations
            $this->environment = Environment::getInstance();
            $this->environment->initializeEnvironment($appPath);
        } catch (BootstrapException $e) {
            throw $e;
        }
    }