+//Global Object for class switch!
+@Field def switchesoff = new switching(1)
+//Global Object for class switch!
+@Field def switcheson = new switching(1)
//Global Object for class lock!
@Field def lock1 = new locking(1)
-//Global Object for class contactSensor!
-@Field def contact = new contacting(1)
+//Global variable for mode!
+@Field def newMode = "away"
//Global variable for number!
-@Field def minutesLater = 1
-//Global variable for number!
-@Field def secondsLater = 10
-//Global variable for recipients!
-@Field def recipients = ['AJ']
-//Global variable for phone number!
-@Field def phoneNumber = 9495379373
+@Field def waitfor = 5
//Global Object for functions in subscribe method!
@Field def installed = this.&installed
//Global Object for functions in subscribe method!
@Field def updated = this.&updated
//Global Object for functions in subscribe method!
-@Field def initialize = this.&initialize
-//Global Object for functions in subscribe method!
-@Field def lockDoor = this.&lockDoor
-//Global Object for functions in subscribe method!
-@Field def unlockDoor = this.&unlockDoor
-//Global Object for functions in subscribe method!
-@Field def doorHandler = this.&doorHandler
+@Field def appTouch = this.&appTouch