     return
 
 createFlowhubRuntime = (user, ip, port, label, id, apihost) ->
+    return null if not flowhub
+
     # Unique identifier of the runtime instance
     id = id or uuid.v4()
     label = label or "MicroFlo"

    return rtPingInterval

registerFlowhubRuntime = (rt, callback) ->
    rt.register callback
    return


    uuid = require("node-uuid")
    EventEmitter = require('events').EventEmitter;

try
  flowhub = require("flowhub-registry")
catch e
  #

commandstream = require("./commandstream")
generate = require("./generate")
c = require("./componentlib")
