changed media to has many through

Fixes #145
Do you want me to test the fact that if there is two media, they should be on the index page comma delimited?