refactor MoviesFactory