language-classes: add rspec and model validations