Added delete command.
Refactored pyhistory file.
Version 1.2.