add some Associations and validations.