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


    @keymaps.subscribeToFileReadFailure()

    @views = new ViewRegistry
    @registerViewProviders()
    @packages = new PackageManager({devMode, configDirPath, resourcePath, safeMode})
    @styles = new StyleManager

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

    ViewRegistry = require './view-registry'
    @views = new ViewRegistry

  reset: ->
    @config.reset()

