     @loadTime = null
 
     ViewRegistry = require './view-registry'
-    CommandRegistry = require './command-registry'
     PackageManager = require './package-manager'
     Clipboard = require './clipboard'
     GrammarRegistry = require './grammar-registry'

    process.env.NODE_ENV ?= 'production' unless devMode

    @keymaps.subscribeToFileReadFailure()
    @commands = new CommandRegistry
    @views = new ViewRegistry
    @registerViewProviders()
    @packages = new PackageManager({devMode, configDirPath, resourcePath, safeMode})

    TooltipManager = require './tooltip-manager'
    @tooltips = new TooltipManager(keymapManager: @keymaps)

    CommandRegistry = require './command-registry'
    @commands = new CommandRegistry

  reset: ->
    @config.reset()

