add flusher and index builder, logger