adding the controllers and routes for the rest api