Refactor in cloverXSessionManager and HandlerCreator to get the session manager