Add validations on models and specs on models.
Merge pull request #11 from Cfeusier/CF_model_specs

Add validations on models and specs on models.