finished first version of xmpp connector