abstraction layer for xmpp-controlled devices