Refactors MarvelService to accept a config object instead of multiple params