working on history playback
working feature to listen to history
added command line option parser