modulize by mvc.