created medium, genre models and join tables with works as well as captions column