Updating FeatureGenerator abstract class

Adding two methods for common usage