Added cascade training support

Needs to be documented