First cut of the recog API for #40
First cut of the recog API for #40