Added simple feature extraction to the pipeline (for testing)