Added validations to models
Merge remote-tracking branch 'origin/master'