ios basic structure && XMPP Integeration, ipad compitable