// The subscribe function takes a input, a state, and a callback method
//subscribe(contact, "contact.open", openHandler)
//subscribe(contact, "contact.closed", closedHandler)
// The subscribe function takes a input, a state, and a callback method
//subscribe(contact, "contact.open", openHandler)
//subscribe(contact, "contact.closed", closedHandler)