Using max instead of sorting the filenames
moved getting body to another function
history impl - incomplete
history works

* --last does not need resource. Cmd args take precedence over last values
* history folder stores name of last request in 'HEAD' file