[#161] package web router for api

fix #161