Made FeatureGeneration a configurable object and added more configuratio...

...n for gzip streaming