added FeatureParameter class using Builder pattern to remove many parameters to the method
refactored the extract feature method