Refactoring: reorganized templates.
UI: added pagination.