add router and model