Removing static variable references and redundant code

Change-Id: I2d104d6e6a17120861c245a20fc47a70a292415c
Fixed delete all orders and secrets for teardown

Change-Id: I44b2586ec0698ac8118e0e135479fc473932d3de
Adding paging support

Change-Id: Iabf10a9efb05a1a6e582c8916e10f0bed31ae736
Fixing PEP8 issues

Change-Id: I53ba42763c184fde55280e99e7ef6ac9de02c618