moved getMoviesByDirector to model