Added degree model associations and validations