adds classSet and validation that was lacking
Merge pull request #6 from cirocosta/internalCX-and-validation

adds classSet and validation