add get/put/patch/delete routes and controllers