refactored and created OSPresenceManager