controller and route build