(feature) Add the routes for the REST API