Session management class, initial draft