Reorganise Session, TransientSession; add PersistentSession; make TransientSession the default value of SESSION_CLASS.