Added concept of saving history to persistence tool.