Removed System.out.println and introduced Log4j