GlobalVariablesBothApps.append("//Creating Global variables for both apps\n")
GlobalVariablesBothApps.append("@Field def sendEvent = {eventDataMap -> eventHandler(eventDataMap)}\n")
GlobalVariablesBothApps.append("@Field def locationObject = new LocationVar(sendEvent, init)\n")
GlobalVariablesBothApps.append("//Creating Global variables for both apps\n")
GlobalVariablesBothApps.append("@Field def sendEvent = {eventDataMap -> eventHandler(eventDataMap)}\n")
GlobalVariablesBothApps.append("@Field def locationObject = new LocationVar(sendEvent, init)\n")