create associations
create join models
minor edits
take out 'openuri' its not necessary