added lucene persist and mad queued writer - not tested