switched routeLoader to parameter in routing file