add routes and controller for relative