move histogram stuff to histogram/ directory