Refactorize XSession -> \Ximdex\Utils\Session