moved Scaler stuff to GTreeManager to keep the number of classes low