Refactored method to retrieve a list of movies.