Decoupled SessionManager from framework