merge gen-level studies branch into master
Refactor to remove booked hist global variables, refactor to have HistInfo class which supports writing to a specific folder
Refactor to remove booked hist global variables, refactor to have HistInfo class which supports writing to a specific folder