 NTRU_def = process.env.NODE_TLS_REJECT_UNAUTHORIZED
+bound = Meteor.bindEnvironment (callback) -> return callback()
+
+events = Npm.require 'events'
 
 class Neo4jListener
   constructor: (listener, @_db) ->


  query: (settings, opts, callback) ->
    if _.isObject settings
      {cypher, query, opts, parameters, params, callback, cb, type, resultDataContents, reactive, reactiveNodes} = settings
    else
      if _.isFunction opts
        callback = _.clone opts

      settings = {}

    opts     ?= {}
    cypher   ?= query
    opts     ?= parameters or params
    callback ?= cb
