removed opt_enable_histograms
updated to allow for subclassing of feature recorder