Training implemented

Hasn't been tested because Example loading needs to be implemented
first. Framework for that is there, just needs to be implemented.