switch to java7
replace system.out by log statement
change log level
change log format