Use a separate class for reading info.xml

@DeepDiver1975 @butonic @Raydiation @PVince81