Added presence setter and getter. Not fully tested yet