made routes widget more mvc, but still need to refactor renderRoutes to get some of the rendering logic to the view