Rename paramParse to encodeQueryString, code organization