Shift apis to /api route