Initial sketch of feature extractor