XML Generator, Controller logic, logging