 kd                 = require 'kd'
 KDViewController   = kd.ViewController
-KDKeyboardListener = kd.KeyboardListener
-KDKeyboardMap      = kd.KeyboardMap
 getAppOptions      = require './util/getAppOptions'
 
 

      @[cmd]?.call this, event
    else
      throw new Error "Unknown command: #{command}"


  registerDeclaredBindings: ->
    appName = @getOptions().name
    { keyBindings } = getAppOptions appName

    keyBindings?.forEach (b) =>
      @appKeyMap.addCombo b.binding, { global: b.global }, (ev) =>
        @handleCommand b.command, appName, ev

      kd.utils.defer  =>
        { appStorageController } = kd.singletons
        @appStorage = appStorageController.storage name, version or "1.0.1"


  createContentDisplay:(models, callback)->
