Improved the separation layers between the REST and TMDB clients, and added documentation comments using phpdoc.