new main, feature extraction can be called from one function: extract_features