Added the Paginator class which is responsible for creating the pages, when there are a lot of elements (views for example) to show.
Also added the needed code in the view_category.php to show the paginator working.