added rating and rank property to Media class