Formatting.
Factor out pager into its own module, fix args handling.