added associations

we've finished the associations and models.