refactor class name validation
fix specs
get rid of unnecessary commented out lines
Merge pull request #2 from rshallit/next

Refactor class name validations