Added pagination options

Signed-off-by: Justin Wesley <justin@wesleyhome.com>
Fixed a null pointer issue

Signed-off-by: Justin Wesley <justin@wesleyhome.com>
Fixed List import

Signed-off-by: Justin Wesley <justin@wesleyhome.com>
Fixed call for generating sortOrder method

Signed-off-by: Justin Wesley <justin@wesleyhome.com>
Added pagination logic to methods.

Signed-off-by: Justin Wesley <justin@wesleyhome.com>