'Set up the storage system for Postgres-based sessions.
This should only be called once per process; this will be done
automatically when using sessions.init (as the built-in Tool does).'

def setup(cls, **kwargs):

    for (k, v) in kwargs.items():
        setattr(cls, k, v)
    self.db = self.get_db()
