Add session structure view and session abstraction