created structure that allows passing callback from thingML and esteblish conunication between the library and thingML