Paginator is a simple class that allows you to create pagination. It doesn't require any database connection.