Refactored to use loggers in stead of sysouts.