 delegate = require 'atom_delegate'
 
 resourcePath = null
-browserMain = null
+atomApplication = null
 
 setupNodePaths = ->
   resourcePaths = [

ipc = require 'ipc'
dialog = require 'dialog'

class BrowserMain
  windowState: null
  menu: null


bootstrapApplication = ->
  parseCommandLine()
  setupNodePaths()
  atomApplication = new AtomApplication

  new AtomWindow
    bootstrapScript: 'window-bootstrap',
