add a paginator

Signed-off-by: Xiaofeng QU <xiaofeng.qu.hk@ieee.org>