cover cat with mg, revitalize xml-api-config, clean up something