Xmpp wrapper

Implemented an xmpp wrapper