Store history in the shell object
Adding save_history
Adding replay_history