Created Assignment model and added validations