created factory to get movie data resource