added packaging and log4j