Created Xmpp class and example implementation