Refactoring of nodechecker start to allow easier testing