Implements register of healthchecks (java only for now)

With this... we register a sample healthcheck