Refactor code to use new TMDB v3 API