Added TextSaverFactory class