Moved console_session management into module_manager