added validations
Merge pull request #2 from harrysboileau/model_validations_and_specs

added validations