finished basic trainer with controller and views