set up all the routes
routes setup
doing the json apis