Removed unnecessary function to build the query string.
Added lots of comments. Modified GetList to accept two parameters.

1) The code finally has comments.
2) GetList takes two parameters, all and page.