def __init__(self, keyStore, storage, resolver):
    self.keyStore = keyStore
    self.storage = storage
    self.contextFactory = PFSContextFactory(self.keyStore)
    self.pool = ConnectionPool(resolver, self.contextFactory, self.keyStore, self.storage)
    self.protocolFactory = TintProtocolFactory(self.pool)
    self.friends = FriendsList(self.storage, self.keyStore, resolver)
    self.log = Logger(system=self)
def __init__(self, keyStore, storage, resolver):
    self.keyStore = keyStore
    self.storage = storage
    self.contextFactory = PFSContextFactory(self.keyStore)
    self.pool = ConnectionPool(resolver, self.contextFactory, self.keyStore, self.storage)
    self.protocolFactory = TintProtocolFactory(self.pool)
    self.friends = FriendsList(self.storage, self.keyStore, resolver)
    self.log = Logger(system=self)