Worked on the pagination system and added limits to models.