Changes for refactor to manager
Changes for refactor to managers for XMPP and WSocket