Implemented rule 3. Minor cleanup of code.
Finished pagination for agents page.
Pagination added to all tables.
Merged rule 2 implementation.