Intitial commit
Organizing file pointers and trees, caching scale factors for filling
histograms on the fly.