add router and controller