Implementing basic body/header feature extraction