Begun creation of more general trainer