Refactored LigerWebClient for testability