Made changes to allow for a singleton PartyManager