refactored presence parsing into dedicated class
put xep333 parsing into parser class