added to trainer model
added routes
added to routes