Started working on features extraction

Feature extraction done by passing an array of functions to apply to
records/observations; only simple categoricals are supported for now.