   Bixby.app.add_state(
     class extends Stark.State
       name: "mon_hosts_resources_new_opts"
-      views:      [ Bixby.view.PageLayout, _vn.Layout, _vn.AddCommand, _vn.AddCommandOpts ]
-      no_redraw:  [ Bixby.view.PageLayout, _vn.Layout, _vn.AddCommand ]
-      models:     { host: Bixby.model.Host, commands: Bixby.model.MonitoringCommandList }
+      views:      [ _bv.PageLayout, _vn.Layout, _vn.AddCommand, _vn.AddCommandOpts ]
+      no_redraw:  [ _bv.PageLayout, _vn.Layout, _vn.AddCommand ]
+      models:     { host: _bm.Host, commands: _bm.MonitoringCommandList }
       load_data: ->
-        @spinner = new Bixby.view.Spinner($("div.command_opts"))
+        @spinner = new _bv.Spinner($("div.command_opts"))
         return @commands
 
       activate: ->


      url:  "monitoring/hosts/:host_id" #  match() pattern [optional]

      views:      [ Bixby.view.PageLayout, _vn.Layout, _vn.ResourceList ]
      no_redraw:  [ Bixby.view.PageLayout, _vn.Layout ]
      models:     { host: Bixby.model.Host, resources: Bixby.model.ResourceList }

      events: {
        mon_hosts_resources_new: { models: [ Bixby.model.Host ] }
      }

      create_url: ->

      name: "mon_hosts_resources_new"
      url:  "monitoring/hosts/:host_id/resources/new"

      views:      [ _bv.PageLayout, _vn.Layout, _vn.AddCommand ]
      no_redraw:  [ _bv.PageLayout, _vn.Layout ]
      models:     { host: _bm.Host, commands: _bm.MonitoringCommandList }

      create_url: ->
        @url.replace /:host_id/, @host.id
