add route and library