add some error checking
add black image for error
Refactored history and changed file format. You will need to delete the old data/history.pkl
moved history and utility functions to cryptocurrency lib