UI infrastructure refactoring
Pagination has been implemented
Pagination logic was moved from Controller to BL layer