refactor DDC class, move validation code to separate function
getRandomClassNum no longer returns 'Not assigned' class numbers
0.2.8