Move health checking logic out to a utility. Add a minion registry that health checks.

Can this type also be moved to a health checking package?