Reformat code sent by @rac2030; apply SLF4j logger instead of JCL; initialize collections to empty