Added active record relations and validations, including the appropriate tests for each model. Added new factories for models.