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

done.