adding getter and setter for querytranslator and resultset in class ResultWriter