- changed logging to log4j2 because it is easier to configure