Added pagination

Merge #3

Reviewed-by: Scott Clark <sclark@fusionbox.com>