Adding simple pagination for index, configurable pagination limit.