Added validations so that movie must have name and year.  Year must be number.