refactored keywords into seperate table and made appropriate changes to searching and the media model