Added Decorator pattern to FactorialSaver