Context manager

refactored harprofiler into a Context Manager class.
Should `shutil` be before `uuid` ?