Fix the corrupt repo; Refactor the REST client; known issue: There are some DI problems on the server.