CAcorrect: Split the analysis from the rest of the code