[#REFACTOR] Pk: request xml generator is now a class to allow better collaboration