Refactor HealthCheck to Engine