Collapsed the pager into a single file, removing lua hooks

I need to re-add the lua hooks, but it'll be easy.
Re-added the lua hooks