refator the mapping relationship between controller and views