   # that depend on `remote`, and here we are. -og
   remote = require('./remote').getInstance()
   # it is very important that you invoke this method before anything else does, so f important.
+
+  globals.os = os # linux, mac or windows
 
   if globals.config.environment in ['dev', 'sandbox']
     global._kd      = kd


  return true

initialize = (defaults, next) ->

  kd.utils.extend globals, defaults

ConnectionChecker      = require './connectionchecker'
lazyrouter             = require './lazyrouter'
setupAnalytics         = require './setupanalytics'
os                     = require 'os'

isStarted = false


module.exports = (defaults) ->

