added routeProvider and defined routes