segmenting into different views handled by routeProvider