Added parameters to allow pagination

Replace #126
Need spaces around "="