renamed abstract class QueryWriter to QueryWriterAbstract