   mq          : broker
   mqConfig    : mqConfig
   metrics     : datadog
+  redisClient : redisClient
 
 
   kite          :

Object.defineProperty global, 'KONFIG', { value: KONFIG }
{ mq, email, social, mongoReplSet, socialapi } = KONFIG

mongo = "mongodb://#{KONFIG.mongo}"  if 'string' is typeof KONFIG.mongo

mqOptions = extend {}, mq

app = express()

do ->
  usertracker.start redisClient

  # start monitoring nodejs metrics (memory, gc, cpu etc...)
  nodejsProfiler = new NodejsProfiler 'socialWorker'
