Added loading of the history using readline/history library.
Adding loading of history using readline/history.