Session manager in one struct.