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


    @loadTime = null

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

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

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

  reset: ->
    @config.reset()

