tests for erwin history stuff
add -r to the pipe mill to ensure we don't fek up the JSON
refactor the history code with separate functions for things
note about the location of the log files
note about the add hook
abstract the log dir for this history files