Added interface for the datawriter and the query string processor