Defined the record/model relationships for the application