 
 process.env.TZ = 'UTC'
 
-port = process.env.PORT || 9358
-americano.start {name: 'template', port: port}, ->
+port = params =
+    name: 'konnectors'
+    port: process.env.PORT || 9358
+
+americano.start params, (app, server) ->
+    realtime = RealtimeAdapter server: server, ['konnector.update']
 
     initKonnectors (err) ->
         if err

americano = require 'americano'
printit = require 'printit'
initKonnectors = require './server/init/konnectors'

log = printit

            log.error "Konnectors were not properly initialized."
        else
            log.info "all konnectors are created."

