refactor history
refactor dispatcher
refactor template
refactor cache
refactor ui/pager
refactor list module
update base