Some changed below.

1. add some helper functions to context
2. change initializations order of the modules
3. add a property for customize data storage to pager
4. add template funcmap