Add the router and the logger