refactor faraday setup