Pagination module main class has been updated. Added getLastPage() method