Refactoring. Moved getMovies method to Movie model