removed unused imports from client. made healthcheck class final. made factory class final.