WIP [Engine-XMPP] Refactored OnPresence into a better to read structure

not in any way finished, but it was so horrible before, I needed to do something