 #include <DNSServer.h>
 #include <WiFiClient.h>
 #include <ESP8266WebServer.h>
-#include <WiFiManager.h> 
+#include <WiFiManager.h>
+
+#include <ArduinoJson.h>
 #include <ESP8266mDNS.h>
 #include <ESP8266SSDP.h>
 //#include <Event.h>

    Serial.print(message);
    Serial.println("' "); 
  }
  char* inValue[relays+2]; //array holds any values being delivered with message (1-8) and NULL; [0] is not used
  char delimiters[] = ",";
  char charMessage[100];
  strncpy(charMessage, message.c_str(), sizeof(charMessage));

  }
}
//run through queue to check to see if there is work to do
void queueManager() {
  if (isDebugEnabled) {
    Serial.println("Starting queueManager");
  }
