change signature of #builder method
improvements to the check and repair functions.

Introduce a Builder::Generic class to be used as the base for other builder classes.

Update the builder CLI to support a "check" action.