增加app类，控制xmppmanager