Add code to add more associations to models. Add code to put models in a rails app.