Added a training module and changed some of the examples.