 americano = require 'americano'
 printit = require 'printit'
+RealtimeAdapter = require 'cozy-realtime-adapter'
+
 initKonnectors = require './server/init/konnectors'
 
 log = printit


process.env.TZ = 'UTC'

port = process.env.PORT || 9358
americano.start {name: 'template', port: port}, ->

    initKonnectors (err) ->
        if err

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

