Add some info,debug log and format the all source code