add hist_class
move hist_class to new module
working cpp class
move histo code to cython