add class HistoManager
finished the class HistoManager
fix plotE.c