A simple Pager class