Implementation of a System for Metal Contamination Control Based on Classification Criteria