established ActiveRecord classes, validations and relationships