add router and server