def __init__(self, config, environ, data=None):
        """Sets configuration and environment and creates the Request
        object.

        :param config: dict containing the configuration variables.
        :param environ: dict containing the environment variables.
        :param data: dict containing data variables.
        """
        if data is None:
            data = {}
        data['douglas_name'] = "Douglas"
        data['douglas_version'] = __version__

        self._config = config
        self._request = Request(config, environ, data)